<layout name="Layout/layout"/>
<div class="row-fluid" style="height: 300px">
    <div class="span12">
        <div class="content-box">
            <div class="content-box-title">
            </div>
            <div class="content-box-main" style="min-height: 80px">
                <div class="row-fluid">
                    <div class="span12">
                        <h3>
                            <button class="btn" type="button" href="#storeSearchModal" data-toggle="modal"><i class="icon-search"></i>Search</button>
                        </h3>
                    </div>
                </div>
                <div class="row-fluid">
                    <div class="span12">
                        <div class="well" id="storeInfo">
                            <h4 class="store-name"><a></a></h4>
                            <address>
                                <i class="icon-home"></i>:<p></p><br>
                                <i class="icon-hdd"></i>:<p></p>
                            </address>
                            <span class="muted"></span>
                        </div>
                    </div>
                </div>
            </div>
        </div>
    </div>
</div>
<div class="row-fluid">
    <div class="span12">
        <div class="content-box">
            <div class="content-box-title">
            </div>
            <div class="content-box-main"  style="height:1050px;overflow:auto;">
                <div class="row-fluid">
                    <div class="span4">
                        <div class="input-append">
                            <input class="span9" id="goodsSearch" type="text">
                            <button class="btn" type="button" onclick="onSearch();"><i class="icon-search"></i>Search</button>
                        </div>
                    </div>
                    <div class="span3">
                        <button class="btn btn-primary" onclick="onCreate()">Create</button>
                    </div>
                    <div class="span4 offset1">
                        <div class="pagination pagination-right" style="margin:0px 0px 5px 0px;" id="page1">
                            <ul>
                            <li class="pagination-pre"><a>&laquo;</a></li>
                            <li class="disabled"><span class="pagination-currentNum">1</span></li>
                            <li class="pagination-next"><a>&raquo;</a></li>
                        </ul>
                        </div>
                    </div>
                </div>
                <div class="row-fluid">
                    <div class="span12">
                        <table class="table" id="goodsTable">
                            <thead>
                                <th>#</th>
                                <th>Photo</th>
                                <th>Name</th>
                                <th>Money</th>
                                <th>Last Time</th>
                                <th>Status</th>
                                <th>Action</th>
                            </thead>
                            <tbody></tbody>
                        </table>
                    </div>
                </div>
            </div>
        </div>
    </div>
</div>
<div class="modal hide fade" id="storeSearchModal">
    <div class="modal-header">
        <button type="button" class="close" data-dismiss="modal" aria-hidden="true">&times;</button>
        <h3>Store Search</h3>
    </div>
    <div class="modal-body">
        <input type="text" data-provide="typeahead" id="storeTypeahead" data-source="['1','2']">
    </div>
    <div class="modal-footer">
        <a href="#" class="btn" aria-hidden="true" data-dismiss="modal">关闭</a>
        <a href="#" class="btn btn-primary" onclick="onStoreSelect()">选择</a>
    </div>
</div>
<link href="__URL__/../../../public/CSS/goods.css" rel="stylesheet" media="screen">
<script src="__URL__/../../../public/JS/Admin/goods.js"></script>